package com.car.loan.framework.aspectj.lang.annotation;

import com.car.loan.common.enums.LoanStatusEnum;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @author huangding
 * @description 流程状态
 * @date 2019/11/9 15:19
 */
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface DataStatus {

    /**
     * 状态表的别名
     */
    public String statusAlias() default "ls";

    /**
     * 流程
     */
    public LoanStatusEnum loanStatusEnum();
}
